ShortPixel\ShortPixelLogger\ShortPixelLogger A

Total Complexity 64
Dependencies 2
Dependents 9
Total lines 341
Lines of code 218
Logical lines of code 123
Comment lines 31
Methods 22
Properties 15

Methods 22

Method Rating Maintainability Complexity Lines of code
__construct()
A
45 14 41
addLog()
A
50 9 28
formatLine()
S
54 7 21
write()
S
55 6 18
initView()
S
58 5 14
monitorHooks()
S
62 4 10
loadView()
S
58 2 15
getInstance()
S
69 2 7
getEnv()
S
67 2 9
setLogLevel()
S
81 1 3
addError()
S
72 1 5
addWarn()
S
72 1 5
setLogPath()
S
81 1 3
addDebug()
S
72 1 5
addTemp()
S
79 1 3
logLevel()
S
73 1 5
getLogLevel()
S
75 1 4
isManualDebug()
S
75 1 4
getLogPath()
S
75 1 4
debugIsActive()
S
75 1 4
logHook()
S
71 1 5
addInfo()
S
72 1 5